<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<style>
	#templetScore{
		width: 100%;
	}
	#templetScore li{
		display: flex;
		justify-content: flex-start;
		font-size: 14px;
		line-height: 30px;
	}

	#templetScore li span:nth-of-type(2){
		margin-left: 20px;
	}
</style>
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input  name="id" class="form-control" type="hidden" th:value="${examinationBatchCom.id}">

<!--						<div  th:text="${examinationBatchCom}"></div>-->
						<div class="form-group">
							<label class="col-sm-3 control-label">所属竞赛：</label>
							<div class="col-sm-8">
								<select id="competitionType" name="competitionType" class="form-control">
									<option value="">请选择</option>
									<option value="1">教师组</option>
									<option value="2">学生中职组</option>
									<option value="3">学生高校组</option>
									<option value="4">国际组</option>
								</select>
								<input type="hidden" id="competitionTypes" th:value="${examinationBatchCom.competitionType}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛名称：</label>
							<div class="col-sm-8">
								<input id="name" name="name" placeholder="请输入竞赛名称" class="form-control" type="text" th:value="${examinationBatchCom.name}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">选择批次：</label>
							<div class="col-sm-8">
								<input id="cbatchName" name="cbatchId" type="text" class="form-control" placeholder="请输入认证批次名称" th:value="${examinationBatchCom.cbatchId}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛方式：</label>
							<div class="col-sm-8">
								<select name="type" id="type" class="form-control">
									<option value="">请选择</option>
<!--									<option value="3">理论+实操</option>-->
									<option value="4">实操竞赛</option>
								</select>
								<input type="hidden" id="types" th:value="${examinationBatchCom.type}">
							</div>
						</div>

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">请选择B赛场的裁判：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<div id="refereeBBox" class="examjudge xm-select-demo" ></div>-->
								<input type="hidden" name="refereeB" class="examferrB" >
<!--							</div>-->
<!--						</div>-->

<!--						<div class="form-group">-->
<!--							<label class="col-sm-3 control-label">请选择C赛场的裁判：</label>-->
<!--							<div class="col-sm-8">-->
<!--								<div id="refereeCBox" class="examjudge xm-select-demo" data-exam="C" data-togg="refereeC" ></div>-->
								<input type="hidden" name="refereeC" class="examferrC" >
<!--							</div>-->
<!--						</div>-->

						<div class="form-group">
							<label class="col-sm-3 control-label">赛项编号：</label>
							<div class="col-sm-8">
								<input id="serial" name="serial" placeholder="请输入赛项编号" class="form-control" type="text" th:value="${examinationBatchCom.serial}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛开始时间：</label>
							<div class="col-sm-8">
								<input id="startTime" name="startTime" class="form-control" type="text" placeholder="请选择开始时间" autocomplete="off"
									   th:value="${examinationBatchCom.startTime} eq null ? '' : ${#dates.format(examinationBatchCom.startTime, 'yyyy-MM-dd HH:mm:ss')}">
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label">竞赛结束时间：</label>
							<div class="col-sm-8">
								<input id="endTime" name="endTime" class="form-control" type="text" placeholder="请选择结束时间" autocomplete="off"
									   th:value="${examinationBatchCom.endTime} eq null ? '' : ${#dates.format(examinationBatchCom.endTime, 'yyyy-MM-dd HH:mm:ss')}"
								>
							</div>
						</div>


						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="button" onclick="update()" class="btn btn-primary">确定</button>
							</div>
						</div>

					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/xmSelect.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/examinationBatchCom/edit.js">
</script>
</body>
</html>
